﻿#ifdef WIN32
#ifndef XTIMERWIN32THREADPOOLTIMER_H
#define XTIMERWIN32THREADPOOLTIMER_H
#ifdef __cplusplus
extern "C" {
#endif
#include"XTimerBase.h"
#define XTIMERWIN32THREADPOOLTIMERE_VTABLE_SIZE (XTIMERBASE_VTABLE_SIZE)       //XTimerWin32ThreadpoolTimer虚函数表大小
//定时器ThreadpoolTimer 封装
typedef struct XTimerWin32ThreadpoolTimer
{
	XTimerBase m_class;//类
	bool m_twoCb;//是否第二次回调标记
}XTimerWin32ThreadpoolTimer;
XVtable* XTimerWin32ThreadpoolTimer_class_init();
XTimerWin32ThreadpoolTimer* XTimerXTimerWin32ThreadpoolTimer_create();
void XTimerWin32ThreadpoolTimer_init(XTimerWin32ThreadpoolTimer* timer);
#endif
#ifdef __cplusplus
}
#endif
#endif // !XTimers_H
